 package org.example.service;

import org.example.dto.DemoDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

 public interface ServiceDemo {
    @RequestMapping("/service1")
     public void service1();
    
    @RequestMapping("/service2")
    public void service2(@RequestParam("msg")String msg);
    
    @RequestMapping("/service3")
    public DemoDTO service3();
}
